/*
 * Copyright 2011-2021 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0.
 * See `LICENSE` in the project root for license information.
 */

package me.ijleex.jmh.benchmark.counter;

import org.openjdk.jmh.runner.Runner;
import org.openjdk.jmh.runner.RunnerException;
import org.openjdk.jmh.runner.options.Options;
import org.openjdk.jmh.runner.options.OptionsBuilder;

/**
 * CounterRunner.
 *
 * @author liym
 * @since 2020-05-27 13:46 新建
 */
public final class CounterRunner {

    public static void main(String[] args) throws RunnerException {
        Options options = new OptionsBuilder()
                .include(CounterBenchmark.class.getName())
                // .warmupIterations(5)
                // .measurementIterations(5)
                // .forks(1)
                .build();

        new Runner(options).run();
    }

}
